

$(".btn-rt").click(function(){
    var cont = 2;//重置
    var inspid = $(this).data("id");
    var datastr = "cont="+cont+"&inspid="+inspid;
    // alert(datastr);
    $.ajax({
        type: "post",
        url: "/../../controller/systemset/inspectioncontroller.php",
        data: datastr,
        success: function (e) {
            var result = eval("("+e+")");
            // alert(result.msg);
            layer.msg(result.msg);
        }
    });
});